package com.xmut.eduservice.userCF;


import lombok.Data;

import java.io.Serializable;

@Data
public class UserCFOutputRecommendedDegreeVo implements Serializable, Comparable<UserCFOutputRecommendedDegreeVo> {
    private String userId;
    private String courseId;
    private Double recommendedDegree;

    @Override
    public int compareTo(UserCFOutputRecommendedDegreeVo userCFOutputRecommendedDegreeVo) {
        return userCFOutputRecommendedDegreeVo.recommendedDegree.compareTo(this.recommendedDegree);
    }
}
